package com.example.wangyeming.getuidemo.application;

import android.app.Application;

/**
 * Created by wangyeming on 15-6-10.
 */
public class GetuiApplication extends Application {

    private static GetuiApplication getuiApp;

    public static GetuiApplication getInstance() {
        return getuiApp;
    }

    private boolean isForeground = false;

    @Override
    public void onCreate() {
        super.onCreate();
        getuiApp = this;
    }

    public void setIsForeground(boolean isForeground) {
        this.isForeground = isForeground;
    }

    public boolean getIsForeground() {
        return isForeground;
    }

}
